import request from "@/utils/request";

/**
 * 重置密码
 * @param account 账号
 * @param password 密码
 */
export function resetPassword(account: object, verificationCode: number) {
    return request({
        url: '/us/user/update/part/password/' + account + '/' + verificationCode,
        method: 'patch',
    })
}

/**
 * 修改面膜
 * @param userUpPassVO 参数
 */
export function updatePassword(userUpPassVO: object) {
    return request({
        url: '/us/user/update/password',
        data: userUpPassVO,
        method: 'patch',
    })
}